package com.jingdianjichi.subject.domain.convent;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBo;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryConventer {

    SubjectCategoryConventer INSERT = Mappers.getMapper(SubjectCategoryConventer.class);

    SubjectCategory conventBoToCategory(SubjectCategoryBo subjectCategoryBo);


    List<SubjectCategoryBo> conventBoToCategory(List<SubjectCategory> subjectCategoryList);

}
